<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body background="imgs/p16.jpg"  style="background-size:100% 100%;background-attachment: fixed;">
    你输入的用户名是：<p id="userName"></p>
    你输入的密码是：<p id="PWD"></p>
    你输入的密码是：<p id="PWB"></p>
     你输入的Enail是：<p id="maIl"></p>
     你输入的QQ是：<p id="QQ"></p>
     你输入的ID是：<p id="ID"></p>
</body>
<script>
    function UrlSearch()
    {
        var name,value;
        var str=location.href;
        var num=str.indexOf("?")
        str=str.substr(num+1);

        var arr=str.split("&");
        for(var i=0;i < arr.length;i++){
            num=arr[i].indexOf("=");
            if(num>0){
                name=arr[i].substring(0,num);
                value=arr[i].substr(num+1);
                this[name]=value;
            }
        }
    }
    var Request=new UrlSearch();
    document.getElementById("userName").innerHTML=Request.userName;
    document.getElementById("PWD").innerHTML=Request.PWD;
     document.getElementById("PWB").innerHTML=Request.PWB;
      document.getElementById("maIl").innerHTML=Request.maIl;
       document.getElementById("QQ").innerHTML=Request.QQ;
        document.getElementById("ID").innerHTML=Request.ID;
</script>
</html>